﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication2
{
    public partial class frmBase : Form
    {
        public frmBase()
        {
            InitializeComponent();
            frmLogo frmlogo = new frmLogo();
            frmlogo.MdiParent = this;
            frmlogo.WindowState = FormWindowState.Maximized;
            frmlogo.Show(); 
        }

      

        private void sairToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }


        private void reservaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmReserva frm3 = new frmReserva();
            frm3.MdiParent = this;
            frm3.WindowState = FormWindowState.Maximized;
            frm3.Show();
        }

        private void cadastroDeHospedeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCadHosp cadHosp = new frmCadHosp();
            cadHosp.MdiParent = this;
            cadHosp.WindowState = FormWindowState.Maximized;
            cadHosp.Show();
        }

        private void pesquisaHospedeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmPesHos pesHosp = new frmPesHos();
            pesHosp.MdiParent = this;
            pesHosp.WindowState = FormWindowState.Maximized;
            pesHosp.Show();

        }
    }
}